GetLastErrorLine

Definition:

GetLastErrorLine()

 

Description:

Obtain the line in the current Script on which the last error occurred.

 

Platforms:

All

 

Parameters:

none

 

Returns:

int

The line number in the current Script on which the last error occurred. If no errors have occurred, returns -1.

 

Notes:

You can only use this Method, if the Enable Script Error Handling Property in the Project Properties is set to True.

Additional error reporting Methods, such as GetNumSyncErrors, GetSyncErrorDescription etc., are available which report errors updating and creating records during data transfers.


See also:

GetLastError

GetLastErrorType

GetNumSyncErrors

GetSyncErrorDataSource

GetSyncErrorDescription

GetSyncErrorRecordIndex

SetDataErrorOn

SetDataErrorOff

Runtime Error Handling and Debugging